package com.itheima.dao;

import com.itheima.domain.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentDao {

    List<Student> getAll();

    boolean save(Student stu);

    boolean delete(Integer uuid);

    boolean update(Student stu);

    Student get(Integer uuid);

    Student getByNameAndAge(@Param("name") String name, @Param("age") Integer age);

}
